package com.center.growcenterserver.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


@Data
@TableName("honor")
public class Honor {

    /**
     * 荣誉记录ID
     */
    @TableId(value = "honor_id", type = IdType.AUTO)
    private Integer honorId;

    /**
     * 学生学号
     */
    @TableField("student_id")
    private String studentId;

    /**
     * 荣誉名称
     */
    @TableField("honor_name")
    private String honorName;

    /**
     * 授予机构
     */
    @TableField("awarding_institution")
    private String awardingInstitution;

    /**
     * 授予时间
     */
    @TableField("awarding_time")
    private Date awardingTime;

    /**
     * 荣誉等级
     */
    @TableField("honor_level")
    private String honorLevel;

    /**
     * 描述
     */
    @TableField("description")
    private String description;

    public Integer getHonorId() {
        return honorId;
    }

    public void setHonorId(Integer honorId) {
        this.honorId = honorId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getHonorName() {
        return honorName;
    }

    public void setHonorName(String honorName) {
        this.honorName = honorName;
    }

    public String getAwardingInstitution() {
        return awardingInstitution;
    }

    public void setAwardingInstitution(String awardingInstitution) {
        this.awardingInstitution = awardingInstitution;
    }

    public Date getAwardingTime() {
        return awardingTime;
    }

    public void setAwardingTime(Date awardingTime) {
        this.awardingTime = awardingTime;
    }

    public String getHonorLevel() {
        return honorLevel;
    }

    public void setHonorLevel(String honorLevel) {
        this.honorLevel = honorLevel;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}